package com.ruoyi.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 tb_blog_category
 *
 * @author ruoyi
 * @date 2024-03-08
 */
public class TbBlogCategory extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 分类表主键
     */
    private String categoryId;

    /**
     * 分类的名称
     */
    @Excel(name = "分类的名称")
    private String categoryName;

    /**
     * 分类的图标
     */
    @Excel(name = "分类的图标")
    private String categoryIcon;

    /**
     * 分类的排序值 被使用的越多数值越大
     */
    @Excel(name = "分类的排序值 被使用的越多数值越大")
    private Long categoryRank;

    /**
     * 是否删除 0=否 1=是
     */
    @Excel(name = "是否删除 0=否 1=是")
    private Long isDeleted;

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryIcon(String categoryIcon) {
        this.categoryIcon = categoryIcon;
    }

    public String getCategoryIcon() {
        return categoryIcon;
    }

    public void setCategoryRank(Long categoryRank) {
        this.categoryRank = categoryRank;
    }

    public Long getCategoryRank() {
        return categoryRank;
    }

    public void setIsDeleted(Long isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("categoryId", getCategoryId())
                .append("categoryName", getCategoryName())
                .append("categoryIcon", getCategoryIcon())
                .append("categoryRank", getCategoryRank())
                .append("isDeleted", getIsDeleted())
                .append("createTime", getCreateTime())
                .toString();
    }
}
